package com.woniu.gf.pawn.management.param;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import java.util.List;

/**
 * @BelongsProject: gf-pawn-system
 * @BelongsPackage: com.woniu.gf.pawn.management.management.param
 * @Author: rofus
 * @CreateTime: 2020-10-15 16:02
 * @Description: 分配角色参数传输类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AllotRoleParam {
    /**
    *  角色id
    */
    @Min(1)
    private int roleId;
    /**
     *  管理员id集合
     */
    private List<Integer> managementIdList;
}
